package com.lzy.cloud.producer.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ellengou
 * Date: 2018-03-12
 * Time: PM 5:20
 */
@RestController
public class TestRemoteController {

    @RequestMapping(value = "/say2")
    public String say(@RequestParam(required = false) String what) {
        return "you say2 what ?  " + what;
    }
}
